﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mes5GService.MES
{
    public class FileTable : FullAuditedEntity<Guid>
    {
        //工步id
        public string FileWorkStepId { get; set; }
        //工序id
        public string FileProcessesId { get; set; }
        //整个工步完成状态
        public bool StepCheckComplete { get; set; }
        //是否允许质控表签字(工步其它的表如果带签字，则签字完成才可以签字)
        public bool StartQualitySignature { get; set; }
        //表格字段名(json中)
        public string TableFieldName { get; set; }
        //表格显示名
        public string TableName { get; set; }
        //数据是否填写完成
        public bool DataComplete { get; set; }
        //是否是填报表格
        public bool DynamicTable { get; set; }
        //是否包含签字列
        public bool HasInspectionSignature { get; set; }
        //表格是否开始签署
        public bool StartSignatured { get; set; }
        //表格是否签署完成
        public bool Signatured { get; set; }
        //表格顺序
        public int SortIndex { get; set; }
        //是否是新增表格
        public bool NewTable { get; set; }
        //是否是已删除表格
        public bool DeletedTable { get; set; }
        //表格是否已更改
        public bool TableChanged { get; set; }
        //工步是否删除
        public bool StepDeleted { get; set; }
        //质量控制记录表中的检查名称
        public string InspectionSignatureName { get; set; }
        //表格结构
        public virtual ICollection<FileTableStruce> FileTableStruces { get; set; }
        //表格数据
        public virtual ICollection<FileTableRow> FileTableRows { get; set; }
    }
}
